package com.example.practice.dao;

import com.example.practice.entity.Activity;
import com.example.practice.entity.Check;
import com.example.practice.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;
import java.util.List;

/**
 * (Check)表数据库访问层
 *
 * @author makejava
 * @since 2023-12-21 11:38:40
 */
public interface CheckDao {
    List<Activity> getCheckActivity(@Param("uid") Integer uid);

    Integer checkPass(@Param("aid")Integer aid);
    Integer checkNotPass(@Param("aid")Integer aid);
    Check queryCheckStatus(@Param("uid")Integer uid,@Param("aid")Integer aid);
    List<Check> getCheckByCollege(@Param("uid")Integer uid);
    Integer checkPassByCollege(@Param("uid")Integer uid,@Param("aid")Integer aid);

    Integer checkNotPassByCollege(@Param("uid")Integer uid,@Param("aid")Integer aid);

    Integer insertCheck(@Param("uid")Integer uid,@Param("aid")Integer aid);
    Integer getStepByAid(@Param("aid")Integer aid);

    Integer getCollegeIdBySchool(@Param("sid")Integer sid);

    Integer checkPassStudent(Integer uid,Integer aid);
    Integer checkNotPassStudent(Integer uid,Integer aid);
    Integer queryRegistrationStatus(Integer uid,Integer aid);
}

